package com.cheetah;

import org.springframework.boot.Banner;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.boot.builder.SpringApplicationBuilder;

/**
 * @ClassName ClientApplication
 * @Description: Client 端
 * @Author Administrator
 * @Date 2019/7/22
 * @Version V1.0
 **/
@SpringBootApplication
public class Application {

    public static void main(String[] args) {
        new SpringApplicationBuilder()
                .sources(Object.class)
                .child(Application.class)
                .headless(true)
                //.web(WebApplicationType.NONE)
                //取消spring启动打印
                .bannerMode(Banner.Mode.OFF)
                .run(args).registerShutdownHook();
    }

}
